import Layout from '@/layout'

export default {
  path: '/announce_manage',
  component: Layout,
  children: [
    {
      path: '',
      name: 'announceManagement',
      component: () => import('@/views/announcement/management'),
      meta: { title: '公告管理' }
    },
    {
      path: 'add',
      name: 'announceAdd',
      component: () => import('@/views/announcement/add'),
      hidden: true,
      meta: { title: '发布公告' }
    },
    {
      path: 'update/:id',
      name: 'announceUpdate',
      component: () => import('@/views/announcement/update'),
      hidden: true,
      meta: { title: '修改公告' }
    },
    {
      path: 'info/:id',
      name: 'announceInfo',
      component: () => import('@/views/announcement/info'),
      hidden: true,
      meta: { title: '公告详情' },
      props: true
    }
  ]
}
